CC=gcc -g -Wall

all: main distance 

clean:
	rm distance.o; rm structs.o; rm main;

distance: distance.c
	$(CC) -c distance.c 

structs: structs.c
	$(CC) -c structs.c 

main: main.c distance structs all-in-one-file
	$(CC) -o main main.c distance.o

all-in-one-file: all-in-one-file.c
	$(CC) -o all-in-one-file all-in-one-file.c

decrypt: decrypt.c encrypt
	$(CC) -o decrypt decrypt.c encrypt.o
